package com.ztgf.shopping.mapper.shop;

import com.baomidou.mybatisplus.plugins.Page;
import com.ztgf.shopping.models.bo.shop.ShopMemberRelationBO;
import com.ztgf.shopping.models.dto.shop.ShopMemberRelationDTO;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ztgf.shopping.models.vo.shop.ShopMemberRelationVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 会员表  Mapper 接口
 * </p>
 *
 * @author zhanghualang
 * @since 2020-05-26
 */
@Mapper
public interface ShopMemberRelationMapper extends BaseMapper<ShopMemberRelationDTO> {
    /**
     * 根据分页和关键字，联表查询会员信息
     * @param page
     * @param bo
     * @return
     */
    List<ShopMemberRelationVO> queryMemberPageList(Page<ShopMemberRelationVO> page, @Param("item") ShopMemberRelationBO bo);
}
